package com.yike.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.product.entity.GoodsSpecification;
import com.yike.product.param.GoodsSpecificationPageParam;

import com.yike.product.vo.GoodsSpecificationVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 商品规格 Mapper 接口
 *
 * @author Sakura
 * @since 2024-10-18
 */
@Mapper
public interface GoodsSpecificationMapper extends BaseMapper<GoodsSpecification> {

    GoodsSpecificationVo getGoodsSpecificationVo(@Param("id") Long id);

    IPage<GoodsSpecificationVo> getGoodsSpecificationList(@Param("page") Page page, @Param("param") GoodsSpecificationPageParam param);

}
